package class2;

public class ShapeTest {
    public void draw(Shape s){
        s.show();
    }
    public static void main(String[] args) {
        ShapeTest obj = new ShapeTest();
        obj.draw(new Rect(1,2,3,4));
        obj.draw(new Circle(1,2,3));
    }
}
